
# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         demo07
# Description:
# Author:       98745
# Date:         2019/3/12
#-------------------------------------------------------------------------------

import numpy
import matplotlib.pyplot as plt
x=numpy.linspace(-6,6,1024)
colors=['red','yellow','b','c','#FF00FF','0.75']
plt.plot(x,x**2,color=colors[4])
# for i in range(20):
#     plt.plot(x,-x**2+(i+1)*2,color=colors[i%len(colors)])
plt.show()